@extends('backend.app')
@section('content')
    <div class="middle-box text-center loginscreen animated fadeInDown">
        <div>
            <div>
                <img src="/backend/images/logo.jpg" class="img-preview" alt="">
            </div>
            <h3>Welcome to the1photo</h3>
            <p>Login in</p>
            <form class="m-t" role="form" action="/admin/login" method="post">
                {{ csrf_field() }}
                <div class="form-group">
                    <input type="email" class="form-control" placeholder="Username" required="" name="email" id="email">
                </div>
                <div class="form-group">
                    <input type="password" class="form-control" placeholder="Password" required="" name="password" id="email">
                </div>
                <button type="submit" class="btn btn-primary block full-width m-b">Login</button>
            </form>

            @if ($errors->any())
                <div class="alert alert-danger">
                    <ul>
                        @foreach ($errors->all() as $error)
                            <li>{{ $error }}</li>
                        @endforeach
                    </ul>
                </div>
            @endif
            <p class="m-t"> <small>© Copyright 2016 | the1photo All rights reserved</small> </p>
        </div>
    </div>
@endsection